package com.tanhua.dubbo.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum NameType implements IEnum<Integer> {

    ONE(1,"初级灵魂题"),
    TWO(2,"中级灵魂题"),
    THREE(3,"高级灵魂题");

    private int value;
    private String desc;

    NameType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
